home *** CD-ROM | disk | FTP | other *** search
- on(release){
- _root.remove_bg();
- _root.player.swapDepths(_root.player.depth);
- _root.score_menu.swapDepths(_root.score_menu.depth);
- var a = _root.enemyactive - 100;
- while(a < _root.enemyactive + 100)
- {
- _root["enemy" + a].removeMovieClip();
- _root["boss_mc" + a].removeMovieClip();
- a++;
- }
- var a = _root.ammoactive - 100;
- while(a < _root.ammoactive + 100)
- {
- _root["ammo" + a].removeMovieClip();
- a++;
- }
- var a = _root.ammoactive - 100;
- while(a < _root.ammoactive + 100)
- {
- _root["weili_mc" + a].removeMovieClip();
- a++;
- }
- var a = _root.lifeactive - 100;
- while(a < _root.lifeactive + 100)
- {
- _root["add_life" + a].removeMovieClip();
- a++;
- }
- var a = _root.ammoactive - 100;
- while(a < _root.ammoactive + 1)
- {
- _root["hanbao_mc" + a].removeMovieClip();
- a++;
- }
- var a = _root.ammoactive - 100;
- while(a < _root.ammoactive + 1)
- {
- _root["shengdai_mc" + a].removeMovieClip();
- a++;
- }
- _parent._parent.gotoAndStop("start");
- }
-